package practica1;

import weka.core.Instances;


public class Main {
	public static void main(String[] args) throws Exception {
		// 1. LOAD DATA FILE
		LoadDataFile cd = new LoadDataFile(args[0]);
		
		// 1.1. Load the Instances
		Instances data = cd.loadInstances();
		
		// 2. FEATURE SUBSET SELECTION
		FeatureSubsetSelection fss = new FeatureSubsetSelection();
		Instances newData = fss.SubsetSelection(data);

		// 3. CLASSIFY
		Classify est = new Classify();
		try{
			est.classifier(newData);
		} catch (Exception e){
			e.printStackTrace();
		}	
    }
}
